[INFO] cloning repository https://github.com/sebiiV/dllinject-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebiiV/dllinject-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsebiiV%2Fdllinject-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsebiiV%2Fdllinject-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5e0fea90c2ce9f67efa4e9db06705c2538ebd6b
[INFO] testing sebiiV/dllinject-rs against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsebiiV%2Fdllinject-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sebiiV/dllinject-rs on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sebiiV/dllinject-rs
[INFO] finished tweaking git repo https://github.com/sebiiV/dllinject-rs
[INFO] tweaked toml for git repo https://github.com/sebiiV/dllinject-rs written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/sebiiV/dllinject-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pe v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 25a500413981d41e8ac375a995e5793e3aa6ad940b8ffa7848d204b61a01e87a
[INFO] running `Command { std: "docker" "start" "-a" "25a500413981d41e8ac375a995e5793e3aa6ad940b8ffa7848d204b61a01e87a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25a500413981d41e8ac375a995e5793e3aa6ad940b8ffa7848d204b61a01e87a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25a500413981d41e8ac375a995e5793e3aa6ad940b8ffa7848d204b61a01e87a", kill_on_drop: false }`
[INFO] [stdout] 25a500413981d41e8ac375a995e5793e3aa6ad940b8ffa7848d204b61a01e87a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7604e1a6bdc289807e75898008d48dfa3ee53045b8069007cf86378990d0d4c0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7604e1a6bdc289807e75898008d48dfa3ee53045b8069007cf86378990d0d4c0", kill_on_drop: false }`
[INFO] [stderr] warning: The package `dll_rs` provides no linkable target. The compiler might raise an error while compiling `injector`. Consider adding 'dylib' or 'rlib' to key `crate-type` in `dll_rs`'s Cargo.toml. This warning might turn into a hard error in the future.
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling mmap-fixed v0.1.5
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling libudis86-sys v0.2.1
[INFO] [stderr]    Compiling generic-array v0.13.2
[INFO] [stderr]    Compiling detour v0.7.1
[INFO] [stderr]    Compiling dll-rs v0.1.0 (/opt/rustwide/workdir/dll-rs)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> dll-rs/src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, TRUE, UINT};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> dll-rs/src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::windef::HWND;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> dll-rs/src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetModuleHandleW, GetProcAddress};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> dll-rs/src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winnt::{DLL_PROCESS_ATTACH, LPCWSTR};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> dll-rs/src/lib.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::ctypes::c_int;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:13:53
[INFO] [stdout]    |
[INFO] [stdout] 13 |   static MessageBoxWHook: unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:13:59
[INFO] [stdout]    |
[INFO] [stdout] 13 |   static MessageBoxWHook: unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:13:68
[INFO] [stdout]    |
[INFO] [stdout] 13 |   static MessageBoxWHook: unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:13:77
[INFO] [stdout]    |
[INFO] [stdout] 13 |   static MessageBoxWHook: unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:17:48
[INFO] [stdout]    |
[INFO] [stdout] 17 | type FnMessageBoxW = unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:17:54
[INFO] [stdout]    |
[INFO] [stdout] 17 | type FnMessageBoxW = unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:17:63
[INFO] [stdout]    |
[INFO] [stdout] 17 | type FnMessageBoxW = unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:17:72
[INFO] [stdout]    |
[INFO] [stdout] 17 | type FnMessageBoxW = unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout]    |                                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn messageboxw_detour(hwnd: HWND, text: LPCWSTR, _caption: LPCWSTR, u_type: UINT) -> c_int {
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:38:41
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn messageboxw_detour(hwnd: HWND, text: LPCWSTR, _caption: LPCWSTR, u_type: UINT) -> c_int {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:38:60
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn messageboxw_detour(hwnd: HWND, text: LPCWSTR, _caption: LPCWSTR, u_type: UINT) -> c_int {
[INFO] [stdout]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:38:77
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn messageboxw_detour(hwnd: HWND, text: LPCWSTR, _caption: LPCWSTR, u_type: UINT) -> c_int {
[INFO] [stdout]    |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let handle = GetModuleHandleW(module.as_ptr());
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |         match GetProcAddress(handle, symbol.as_ptr()) as usize {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |     _module: HINSTANCE,
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |     call_reason: DWORD,
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 |     _reserved: LPVOID,
[INFO] [stdout]    |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | ) -> BOOL {
[INFO] [stdout]    |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DLL_PROCESS_ATTACH` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 |     if call_reason == DLL_PROCESS_ATTACH {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:73:27
[INFO] [stdout]    |
[INFO] [stdout] 73 |         main().is_ok() as BOOL
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> dll-rs/src/lib.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         TRUE
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `unsafe extern "system" fn([type error], [type error], [type error], [type error]) -> [type error] {__ffi_detour}: Function` is not satisfied
[INFO] [stdout]   --> dll-rs/src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / static_detour! {
[INFO] [stdout] 13 | |   static MessageBoxWHook: unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_the trait `Function` is not implemented for `unsafe extern "system" fn([type error], [type error], [type error], [type error]) -> [type error] {__ffi_detour}`
[INFO] [stdout]    |   consider calling this function
[INFO] [stdout]    |
[INFO] [stdout]    = note: required by `StaticDetour::<T>::__new`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use parentheses to call the function
[INFO] [stdout]    |
[INFO] [stdout] 134|         $crate::StaticDetour::__new(__ffi_detour(__arg_0, __arg_1, __arg_2, __arg_3))
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `unsafe extern "system" fn([type error], [type error], [type error], [type error]) -> [type error] {__ffi_detour}: Function` is not satisfied
[INFO] [stdout]   --> dll-rs/src/lib.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / static_detour! {
[INFO] [stdout] 13 | |   static MessageBoxWHook: unsafe extern "system" fn(HWND, LPCWSTR, LPCWSTR, UINT) -> c_int;
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_the trait `Function` is not implemented for `unsafe extern "system" fn([type error], [type error], [type error], [type error]) -> [type error] {__ffi_detour}`
[INFO] [stdout]    |   consider calling this function
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/detour-0.7.1/src/detours/statik.rs:63:28
[INFO] [stdout]    |
[INFO] [stdout] 63 |   pub struct StaticDetour<T: Function> {
[INFO] [stdout]    |                              -------- required by this bound in `StaticDetour`
[INFO] [stdout]    |
[INFO] [stdout]    = help: use parentheses to call the function: `__ffi_detour(__arg_0, __arg_1, __arg_2, __arg_3)`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dll-rs`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "7604e1a6bdc289807e75898008d48dfa3ee53045b8069007cf86378990d0d4c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7604e1a6bdc289807e75898008d48dfa3ee53045b8069007cf86378990d0d4c0", kill_on_drop: false }`
[INFO] [stdout] 7604e1a6bdc289807e75898008d48dfa3ee53045b8069007cf86378990d0d4c0
